package cn.lang.auth.common.utils.jwt;

/**
* @Title: JwtProperties
* @Description: jwt配置
* @author Lang
* @date 2020/6/8 22:27
*/
public class JwtProperties {

	/**
	 * token名称
	 */
	private String tokenName = "token";

	/**
	 * 密码
	 */
	private String secretKey = "666";

	/**
	 * 签发人
	 */
	private String issuer = "lang";

	/**
	 * 主题
	 */
	private String subject = "520";

	/**
	 * 签发的目标
	 */
	private String audience = "jy";

	/**
	 * token失效时间,默认2小时，60*60=3600
	 */
	private Long expireSecond = 2*60*60L;

	public String getTokenName() {
		return tokenName;
	}

	public void setTokenName(String tokenName) {
		this.tokenName = tokenName;
	}

	public String getSecretKey() {
		return secretKey;
	}

	public void setSecretKey(String secretKey) {
		this.secretKey = secretKey;
	}

	public String getIssuer() {
		return issuer;
	}

	public void setIssuer(String issuer) {
		this.issuer = issuer;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getAudience() {
		return audience;
	}

	public void setAudience(String audience) {
		this.audience = audience;
	}

	public Long getExpireSecond() {
		return expireSecond;
	}

	public void setExpireSecond(Long expireSecond) {
		this.expireSecond = expireSecond;
	}
}
